<?php
/**
 * Created by PhpStorm.
 * User: Edward
 * Date: 2019/6/4
 * Time: 13:29
 */

namespace app\Validate;


class ShopGroupValidate extends BaseValidate {
    protected $rule  = [
        'uid' => 'require|isPositiveInteger',
        'group_name' => 'require|min:1|max:10',
        'sort' => 'require|isPositiveInteger'
    ];
    protected $message = [
        'uid' => '商家ID必须是整数',
        'group_name' => '商家分组必添，最小值是1，最大值是10',
        'sort' => '排序值必须是整数'
    ];
}